<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
		<meta charset="utf-8">
   		<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>注册-M-SS</title>
		<!-- Bootstrap -->
    	<link href="css/bootstrap.min.css" rel="stylesheet">
    	<link rel="stylesheet" href="css/sticky-footer-navbar.css" />
    	<link rel="stylesheet" href="css/login.css" />
    	<style>
    		body {
    			background: #eee;
    		}
    	</style>

  </head>
  
	<body>
		<!--导航-->
		<nav class="navbar navbar-default  navbar-fixed-top">
			<div class="container">
				<nav class="navbar-header">
					<button class="navbar-toggle collapsed" data-toggle="collapse" data-target="#myNavbar">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a href="index.html" class="navbar-brand">M-SS网上商城</a>
				</nav>
				<div class="collapse navbar-collapse" id="myNavbar" id="myNavbar">
					<ul class="nav navbar-nav">
						<li class="active"><a href="#">首页</a></li>
						<li><a href="#">功能1</a></li>
						<li><a href="#">功能2</a></li>
						<li><a href="#">功能3</a></li>
						<li><a href="#">功能4</a></li>
					</ul>
					<ul class="nav navbar-nav navbar-responsive-collapse navbar-right">
						<li>
							<a href="#"><span class="glyphicon glyphicon-user"></span> 我的账户</a>
						</li>
						<li>
							<a href="#"><span class="glyphicon glyphicon-shopping-cart"></span> 购物车</a>
						</li>
					</ul>
					<form class="navbar-form navbar-right hidden-sm">
						<div class="form-group">
							<input class="form-control" type="text" placeholder="搜索商品" />
						</div>
						 <button type="submit" class="btn btn-success">搜索</button>
					</form>
		     	</div>
			</div>
		</nav>
		<!--导航-->
		
		<div class="container" id="login">
			<div class="container">
				<h3><span class="glyphicon glyphicon-fire"></span>注册</h3>
			</div>
	      		<form action="${pageContext.request.contextPath }/registerServlet" class="form-group" method="post">
	      			<!--用户名-->
	      			<div class="input-group col-sm-4 col-sm-offset-4">
	      				<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
	      				<input class="form-control" type="text" placeholder="请输入帐号     字母，数字，下划线组成" name="username"/> <!--...............-->
	      			</div>
	      			<!--用户名-->
	      			<br />
	      			<!--密码-->
	      			<div class="input-group col-sm-4 col-sm-offset-4">
	      				<span class="input-group-addon"><span class="glyphicon glyphicon glyphicon-lock"></span></span>
	      				<input class="form-control" type="password" placeholder="请输入密码" name="password"/>  <!--...............-->
	      			</div>
	      			<!--密码-->
	      			<br />
	      			<!--提交登录-->
	      			<div class="input-group col-sm-4 col-sm-offset-4 col-xs-12">
	      				<button type="submit" class="btn btn-lg btn-success btn-group-justified" href="#">注册</button>  <!--...............-->
	      			</div>
	      			<!--提交登录-->
	      		</form>
   		</div>
		
		<footer class="container-fluid panel-footer text-center footer">
			<p>网上商城 Copyright</p>
		</footer>
		<!--内容-->
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
	</body>
</html>
